package com.class03.field_method.field;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2024/3/22 9:07
 */
public class DogTest {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.name = "佩奇";
        dog.age = 10;
        dog.color = "green";
        dog.sleep();
        System.out.println(dog.name);


    }
}
